dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8f10c5
)
Resolve fixme on r96249: can't use in static context
author
Chad Horohoe
<demon@users.mediawiki.org>
Fri, 9 Sep 2011 01:01:30 +0000
(
01:01
+0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Fri, 9 Sep 2011 01:01:30 +0000
(
01:01
+0000)
includes/specials/SpecialUpload.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialUpload.php
b/includes/specials/SpecialUpload.php
index
84b15a8
..
860fd45
100644
(file)
--- a/
includes/specials/SpecialUpload.php
+++ b/
includes/specials/SpecialUpload.php
@@
-719,6
+719,7
@@
class SpecialUpload extends SpecialPage {
* Construct a warning and a gallery from an array of duplicate files.
*/
public static function getDupeWarning( $dupes ) {
+ global $wgOut;
if( $dupes ) {
$msg = '<gallery>';
foreach( $dupes as $file ) {
@@
-729,7
+730,7
@@
class SpecialUpload extends SpecialPage {
$msg .= '</gallery>';
return '<li>' .
wfMsgExt( 'file-exists-duplicate', array( 'parse' ), count( $dupes ) ) .
- $
this->getOutput()
->parse( $msg ) .
+ $
wgOut
->parse( $msg ) .
"</li>\n";
} else {
return '';